package Events
{
	import flash.events.Event;
	
	public class UIAddTaskWindowEvent extends Event
	{
		public static const SUBMIT:String = "SUBMIT";
		
		private var _taskName:String;
		private var _taskDescription:String;
		
		public function UIAddTaskWindowEvent(type:String,taskName:String,taskDescription:String,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_taskName=taskName;
			_taskDescription=taskDescription;
		}
		
		public function get taskName():String
		{
			return _taskName;
		}
		public function get taskDescription():String
		{
			return _taskDescription;
		}
	}
}